/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.googlecode.midpdeviceprofiler;

/**
 *
 * @author helio.rodrigues
 */
public class ClassProber {

    /**
     *
     * @param className
     * @return
     */
    public static boolean probe(String className) {
        try {
            Class.forName(className).newInstance();
            return true;
        } catch (ClassNotFoundException exception) {
            return false;
        } catch (Exception exception) {
            return true;
        }
    }
}
